package com.cqwshzj.framework.service;/**
 * @Description:
 * @Auther: Huang Zhijin
 * @Version: 1.0.0
 * @Date: 2021/4/7 09:13
 */

import com.cqwshzj.framework.dao.model.JobStrategy;

import java.util.List;

/**
 *
 * 〈〉
 *
 * @author Huang Zhijin
 * @create 2021/4/7
 * @since 1.0.0
 */
public interface JobStrategyService {


	JobStrategy getById(Integer id);

	List<JobStrategy> listEnableStrategyOfToday();

	int lockAndUpdateStateDisabledById(Integer id, String nextRunDate);

	int updateStatusEnableById(Integer id);

	int updateNextRunDateAndStatuaEnableById(Integer id, String nextRunDate);
}
